package org.apache.rocketmq.console.script.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "r_sys_info")
public class SysInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8463779710631073692L;
	@Id
	public String code;
	public String name;
	public String owner;
	public String regionCode;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRegionCode() {
		return regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	@Override
	public String toString() {
		return "SysInfo [code=" + code + ", name=" + name + ", owner=" + owner + ", regionCode=" + regionCode + "]";
	}

}
